<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<span style="float:left;margin-left:15px;font-weight: bold;margin-top:5px">年&nbsp;&nbsp;度</span>
<select style="float:left;margin-left:20px;margin-top:5px" onchange="getYearProInfo(this)">
	<option value="2000" ${year==2000?"selected":""}>2000</option>
	<option value="2001" ${year==2001?"selected":""}>2001</option>
	<option value="2002" ${year==2002?"selected":""}>2002</option>
	<option value="2003" ${year==2003?"selected":""}>2003</option>
	<option value="2004" ${year==2004?"selected":""}>2004</option>
	<option value="2005" ${year==2005?"selected":""}>2005</option>
	<option value="2006" ${year==2006?"selected":""}>2006</option>
	<option value="2007" ${year==2007?"selected":""}>2007</option>
	<option value="2008" ${year==2008?"selected":""}>2008</option>
	<option value="2009" ${year==2009?"selected":""}>2009</option>
	<option value="2010" ${year==2010?"selected":""}>2010</option>
	<option value="2011" ${year==2011?"selected":""}>2011</option>
	<option value="2012" ${year==2012?"selected":""}>2012</option>
</select>
<span style="float:right;margin-left:15px;font-weight: bold;margin-top:5px">
${year} 年度项目投资总金额 ${yearTotalFound} 万元</span></div>
<table id="mainTab" width="800" border="1px" align="center" style="margin-top: 10px"
	bordercolor="#E8E7E6" bgcolor="#FFFFFF">
	<tr bgcolor="#BECAE3" style="height: 50px">
		<th width="7%">年&nbsp;&nbsp;度</th>
		<th width="15%">所属国家部委</th>
		<th width="10%">项目总个数</th>
		<th width="15%">项目投资总资金</th>
		<th width="20%">资金使用占年度全省比例</th>
	</tr>
	<c:forEach items="${depInfos}" var="depInfo"
		varStatus="status">
		<tr align="center" valign="middle" bgcolor="#FFFFFF" style="height: 27px" onmousemove=turnBlack(this); onmouseout=turnWhite(this);>
			<td>
				${year}
			</td>
			<td>
				${depInfo.depName}
			</td>
			<td>
				${depInfo.proCount}
			</td>
			<td style="text-align: right">
				${depInfo.totalFoundString} 万元 &nbsp;
			</td>
			<td>
				${depInfo.proCountPercentage} %
			</td>				
		</tr>
	</c:forEach>
</table>
